<div class="wrapper wrapper-content">

  <div class="row">
    <div class="col-lg-12">
      <div class="ibox float-e-margins">

        <div class="ibox-title">
          <h5>缴费患者详情</h5>
          <div ibox-tools="" class="ng-scope">
            <div dropdown="" class="ibox-tools dropdown">
              <a ng-click="showhide()"> <i class="fa fa-chevron-up"></i></a>
            </div>
          </div>
        </div>

        <div class="ibox-content">
          <div class="row">
            <row>
              <div class="col-md-12">

                <table class="table table-bordered">
                  <thead>
                  <tr>
                    <th>姓名</th>
                    <th>病案号</th>
                    <th>性别</th>
                    <th>年龄</th>
                    <th>病种</th>
                    <th>手机号</th>
                  </tr>
                  </thead>
                  <tbody>
                  <tr>
                    <td ng-bind="patient.name"></td>
                    <td ng-bind="patient.caseNum"></td>
                    <td ng-bind="patient.gender|chooseSex"></td>
                    <td ng-bind="patient.age"></td>
                    <td ng-bind="patient.illnessType"></td>
                    <td ng-bind="patient.phoneNum"></td>
                  </tr>
                  </tbody>
                </table>

              </div>
            </row>

          </div>


        </div>
      </div>
    </div>
  </div>
  <div class="row">
    <div class="col-lg-12">
      <div class="ibox float-e-margins">
        <div class="ibox-title">
          <h5 style="vertical-align: middle; display: block;margin-top: 2px;">
            缴费操作
            <!--<small>查看就诊人员信息</small>-->
          </h5>
          <div class="ibox-tools"style="margin-bottom: 3px;" ng-show="modelType=='治疗'">
            <span class="label label-primary">已缴费已执行</span>
            <span class="label label-warning">已缴费未执行</span>
            <span class="label label-info">未缴费</span>
          </div>
        </div>
        <div class="ibox-content table-responsive">
          <div class="row">
            <div class="col-sm-6 b-r">
              <div class="col-sm-12">
                <div class="col-lg-12 no-padding" id="tableBox">

                  <table class="table-bordered" style="margin-top: 10px;" id="table1" ng-show="modelType=='治疗'">
                    <tbody>
                    <tr ng-repeat="row in rows">
                      <td ng-repeat="col in row track by $index"
                          style="height: 100px;width: 200px;border: 10px white solid;!important; "
                          class="widget yellow-bg p-lg text-center" ng-hide="col!=1&&col!=2&&col!=3&&col!=4"
                          ng-class="{'bgcolor_complete_record' : col==1, 'bgcolor_allrecord': col==2,'bgcolor_nopayment_record':col==3,
                          'bgcolor_drawback_record':col==4}">
                        <i ng-class="{'fa fa-thumbs-up fa-4x' : col==1, 'fa fa-spinner fa-4x': col==2,'fa fa-bell fa-4x':col==3,'fa fa-warning fa-4x':col==4}"></i>
                      </td>
                    </tr>
                    </tbody>
                  </table>
                </div>
              </div>
            </div>
            <div class="col-sm-6">
              <select ng-model="modelType" class="form-control" ng-click="selectType()"
                      required>
                <option value="" selected="selected">--请选择--</option>
                <option value="模具">压模</option>
                <option value="定位">计划</option>
                <!--<option value="勾靶" >勾靶</option>-->
                <option value="治疗">治疗</option>
              </select>
              <div ng-show="modelType=='模具'">
                <div>
                  <row>
                    <span style="font-size: 16px;font-weight: 600; margin-top: 5px;display: block;">压模缴费<button
                      class="btn btn-primary pull-right" ng-click="addModelMessage(1)" style="display: inline-block;">
                      确定缴费
                    </button></span>
                  </row>
                </div>
              </div>
              <div ng-show="modelType=='定位'">
                <div>
                  <row>
                    <span style="font-size: 16px;font-weight: 600; margin-top: 5px;display: block;">定位缴费<button
                      class="btn btn-primary pull-right" ng-click="addModelMessage(2)" style="display: inline-block;">
                      确定缴费
                    </button></span>
                  </row>
                </div>
              </div>
              <!--<div ng-show="modelType=='勾靶'" >-->
              <!--<div >-->
              <!--<row>-->
              <!--<span style="font-size: 16px;font-weight: 600; margin-top: 5px;display: block;">勾靶缴费<button class="btn btn-primary pull-right" ng-click="addModelMessage(3)" style="display: inline-block;">-->
              <!--确定缴费-->
              <!--</button></span>-->
              <!--</row>-->
              <!--</div>-->
              <!--</div>-->
              <div ng-show="modelType=='治疗'">
                <div class="col-lg-12 no-padding">
                  <div class="col-lg-12 col-md-12">
                    <span style="font-size: 16px;font-weight: 600; margin-top: 10px;display: block;">总共治疗次数：<span
                      ng-bind="totalNum"></span></span>
                  </div>
                  <div class="col-lg-12 col-md-12">
                    <span style="font-size: 16px;font-weight: 600; margin-top: 10px;display: block;">已缴费次数：<span
                      ng-bind="treatNum"></span></span>
                  </div>
                  <div class="col-lg-12 col-md-12">
                    <span style="font-size: 16px;font-weight: 600; margin-top: 10px;display: block;">已退费次数：<span
                      ng-bind="drawbackNum"></span></span>
                  </div>
                  <div class="col-lg-12 col-md-12">
                    <span style="font-size: 16px;font-weight: 600; margin-top: 10px;display: block;"
                          class="form-inline">
                      <span ng-hide="refund">本次缴费次数：</span>
                      <span ng-hide="!refund">本次退款次数：</span>
                      <input class="form-control "
                                                            type="number" ng-model="presentNum"></span>
                  </div>
                  <div class="col-lg-12 col-md-12 pull-right no-padding"style="margin-top: 5px;">

                    <button class="btn btn-primary pull-right" ng-click="addModelMessage(4)"ng-disabled="payFlag">
                      <span ng-hide="refund">确认缴费</span>
                      <span ng-hide="!refund">确认退款</span>
                    </button>
                    <button class="btn btn-danger pull-right"style="margin-right: 5px" ng-click="addModelMessage(5)">

                      <span ng-hide="refund">退款操作</span>
                      <span ng-hide="!refund">缴费操作</span>
                    </button>

                  </div>

                </div>

              </div>
            </div>

          </div>

        </div>
      </div>
    </div>
  </div>

</div>
<toaster-container></toaster-container>
